package com.cac.demo.newCode.sorting.dto;

import lombok.Data;

@Data
public class LocalLogDTO {
    /**
     * 主键ID
     */
    private Integer id;
    /**
     *  日志级别
     */
    private String level;
    /**
     * 日志名称
     */
    private String loggerName;
    /**
     * 日志信息
     */
    private String message;
    /**
     * 异常信息
     */
    private String exception;
    /**
     * 创建时间
     */
    private String createTime;
    /**
     * 请求方法
     */
    private String method;
    /**
     * 请求IP
     */
    private String ipAddress;
    /**
     * 请求参数
     */
    private String requestParam;
    /**
     * 响应参数
     */
    private String responseParam;
    /**
     * 创建时间时间段
     */
    private String createStartDate;
    private String createEndDate;
    /**
     * 分页参数
     */
    private Long current;
    private Long size;
    private String pageTotal;
    public LocalLogDTO(){}

    public LocalLogDTO(Integer id, String level, String loggerName, String message, String exception, String createTime, String method, String ipAddress, String requestParam, String responseParam) {
        this.id = id;
        this.level = level;
        this.loggerName = loggerName;
        this.message = message;
        this.exception = exception;
        this.createTime = createTime;
        this.method = method;
        this.ipAddress = ipAddress;
        this.requestParam = requestParam;
        this.responseParam = responseParam;
    }
}
